package com.firexxx.study.threadpool;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.concurrent.BlockingQueue;

/**
 * @description: TODO
 * @author: zhuangzhang2
 * @date: 2020-11-05 10:08
 */
@NoArgsConstructor
@AllArgsConstructor
public abstract class Producer {

    private BlockingQueue<ITask> queue;

    public abstract ITask produce();

}
